<div class="left">
    <div class="form_section preview manage">
    <table>
        <tr><td class="subtitle">Filter Name:</td><td> <input type="text" id="search_term"/></td></tr>
        <tr><td class="subtitle">Filter Category:</td>
            <td>
                <select id="search_cat">
                    <option value="-1">All Categories</option>
                    <?foreach($categories->result() as $cat):?>
                    <option value="<?=$cat->category_id?>"><?=$cat->category_title?></option>
                    <?endforeach;?>
                </select>
            </td>
        </tr>
    </table>
    </div>
    
<div class="form_section preview">
<h2>Search Results:</h2>
<div class="listContainer">
<ul class="list" id="search_results">
</ul>
</div>
</div>
</div>
<div class="right">
    <a href="<?=base_url()?>meal_editing/create_meal" class="button largeButton">Create New Meal</a>
<div id="preview_meal" class="preview">
</div>
</div>
<br style="clear:both"/>
<div id="success_area" class="preview">
<?if($response != ""):?>
    <div class="form_section">
    <h1><?=$response?></h1>
    </div>
<?endif;?>
</div>